package com.mvc.service;

import java.util.List;

import org.springframework.ui.ModelMap;

import com.mvc.entity.Student;

public interface StudentService {

	public abstract List<Student> getStudentList();

	public abstract void save(Student st);

	public abstract void delete(Student obj);

	public abstract Student load(int id);
	
	public abstract Student load(ModelMap mm, int id);

	public abstract void deleteByid(int id);
	
	public void saveList(List<Student> list);
	
	public void deleteManyToMany();
	
}